import http from '@/utils/http'

// 获取药品分类
export const listDrugType = () => {
	return http.get(`/knowledge/app/drug/list`)
}

// 获取药品知识
export const listDrugPage = (params) => {
	return http.get(`/knowledge/app/drug/page`, params)
}

// 获取药品知识详情
export const getDrugDetail = (id) => {
	return http.get(`/knowledge/app/drug/detail/${id}`)
}